<link href="{:H('umeditor/themes/default/css/umeditor.css')}" type="text/css" rel="stylesheet">
<script type="text/javascript" src="{:H('umeditor/umeditor.config.js')}"></script>
<script type="text/javascript">
	window.UMEDITOR_CONFIG.imageUrl = "{:U('Upload/umeditor')}";
	window.UMEDITOR_CONFIG.imagePath = "";
	window.UMEDITOR_CONFIG.imageFieldName = "upfile";
</script>
<script type="text/javascript" src="{:H('umeditor/umeditor.min.js')}"></script>
<script type="text/javascript" src="{:H('umeditor/lang/zh-cn/zh-cn.js')}"></script>
<!--style给定宽度可以影响编辑器的最终宽度-->
<script type="text/plain" id="{$name}" name="{$name}" style="width:{$width};height:{$height};">{$content}</script>
<script type="text/javascript">
	var um = UM.getEditor("{$name}");
</script>